<!DOCTYPE html>
<html>
  <head>
    {include file="common/meta" /}
  </head>
  <body class="layui-anim layui-anim-up">
    <div class="x-body">
        <!-- 搜索 -->
      <div class="layui-row">
        <xblock>
            <span class="x-right" style="line-height:40px;margin-top: -1em;">共有数据：{$count} 条</span>
        </xblock>
      </div>

      <!-- 分页列表 -->
      <table class="layui-table">
        <thead>
          <tr>
            <th>充值金额</th>
            <th>充值时间</th>
            <th>备注内容</th>
            <th>审核人</th>
            <th>审核状态</th>
        </thead>
        <tbody>
            {foreach $paylist as $item}
            <tr>
                <td>{$item.point}</td>
                <td>{$item.createtime}</td>
                <td>{$item.content}</td>
                {if condition="$item.adminid"}
                    <td>{$item.admins.username}</td>
                {else /}
                    <td>等待管理员审核</td>
                {/if}
                <td>{$item.status_text}</td>
            </tr>
            {/foreach}
        </tbody>
      </table>

      <!-- 分页 -->
      <div class="page">
        {$pagestr}
      </div>
    </div>
  </body>
</html>
